﻿using System.Windows;
using TorchView.Composition;
using TorchView.SharedStashEditor.ViewModels;
using TorchView.Windows;

namespace TorchView.SharedStashEditor.Views
{
    /// <summary>
    /// Interaction logic for AddAffixView.xaml
    /// </summary>
    public partial class AddAffixView : Window, IDialogView<IAddAffixViewModel>
    {
        private WindowService _WindowService;

        private IAddAffixViewModel _Model;

        public IAddAffixViewModel Model
        {
            get { return _Model; }
            set { _Model = value; DataContext = value; }
        }

        public AddAffixView()
        {
            InitializeComponent();
            _WindowService = new WindowService(this);
        }
    }
}
